<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <meta name="apple-mobile-web-app-title" content="阿福易购">
    <meta content="telephone=no" name="format-detection" />
    <meta content="email=no" name="format-detection" />
    <!-- uc、qq浏览器 -->
    <meta name="screen-orientation" content="portrait">
    <meta name="full-screen" content="yes">
    <meta name="browsermode" content="application">
    <meta name="x5-orientation" content="portrait">
    <meta name="x5-fullscreen" content="true">
    <meta name="x5-page-mode" content="app">
    <meta name="HandheldFriendly" content="true">
    <meta name="MobileOptimized" content="320">
    <meta name="keywords" content="{{$SEO['keywords']}}"/>
    <meta name="description" content="{{$SEO['description']}}"/>
    <meta name="csrf-token" content="{{ csrf_token() }}" />
    <title>设置_{{$SEO['title']}}</title>
    <link rel="stylesheet" href="{{ asset('/build/css/app.min.css') }}">
</head>
<body ontouchstart="">
<header class="ui-header ui-header-stable    af-header" style="position: relative">
    <ul class="ui-row-flex">
        <li class="ui-col ui-flex ui-flex-pack-start">
            <i ontouchstart="window.history.back();" class="ui-icon-return af-icon-home"></i>
        </li>
        <li class="ui-col ui-flex ui-flex-pack-center">
            <h1>个人中心</h1>
        </li>
        <li class="ui-col ui-flex ui-flex-pack-end">
        </li>
    </ul>
</header>

<footer class="ui-footer af-footer">
    <ul class="ui-tiled">
        <li  onclick="window.location.href='/'"><i class="ui-icon-hall"></i><div class="menu">首页</div></li>
        <li onclick="window.location.href='./cat'"><i class="ui-icon-scan"></i><div class="menu">分类</div></li>
        <li onclick="window.location.href='./cart.html'"><i class="ui-icon-cart"></i><div class="menu">购物车</div></li>
        <li class="current " onclick="window.location.href='/user'"><i class="ui-icon-personal"></i><div class="menu">我的</div></li>
    </ul>
</footer>

<div class="ui-container" style="border-top: 0px;">


    <section class="ui-my-toolbar ui-border-tb ">
        <h2 class="ui-arrowlink tool-item " onclick="window.location.href='/setting/reset_password'"><span>修改密码</span></h2>
    </section>
    <div class="ui-btn-wrap">
        <button class="ui-btn-lg ui-btn-default">
            退出登录
        </button>
    </div>

</div>
<footer>

</footer>

<script src="{{ asset('/build/lib/zepto.min.js') }}"></script>
<script src="{{ asset('/build/js/frozen.js') }}"></script>
<script src="{{ asset('/build/js/app.min.js') }}"></script>
<script>
//取消订单
$('.ui-btn-default').on('click',function(e){
//alert("dg");
        $.ajax({
            url:'/user/logout'+"?"+Math.random(),
            type:'post',
            dataType:"json",
            success:function(result){
                if (result.status){
                window.location.href='/';
                }
            }
        });
    });
</script>
</body>
</html>